
export const hospitalList = [{
    url: 'xzpl',
    title: "西藏阿里普兰医院",
    name: "西藏阿里普兰医院",
    id: "1836e202611IdTXhhgW"
}, {
    url: 'whzn',
    title: "武汉大学中南医院",
    name: "武汉大学中南医院",
    id: "1836e205cc0DZJwTTSx"
}, {
    url: 'bjxh',
    title: "北京协和医院",
    name: "北京协和医院",
    id: "1836e20a202FXEyjiVr"
}, {
    url: 'qhcg',
    title: "北京清华长庚医院",
    name: "北京清华长庚医院",
    id: "1836e207e67zSFfZVSl"
}];
export const hospitalMapPoint = {
    //西藏阿里普兰医院
    "1836e202611IdTXhhgW": [
        {
            style: "left:53.2%;top:12.5%",
            id: "20451",
            name: "20451",
            code: "核酸门诊预检分诊",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:56.2%;top:14%",
            id: "18331",
            name: "18331",
            code: "核酸检测",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:51%;top:18%",
            id: "20055",
            name: "20055",
            code: "预检候诊",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:84%;top:13%",
            id: "26185",
            name: "26185",
            code: "二次分诊",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:71%;top:28%",
            id: "18380",
            name: "18380",
            code: "留观室1",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:73.5%;top:31%",
            id: "20832",
            name: "20832",
            code: "留观室2",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:67%;top:31%",
            id: "19230",
            name: "19230",
            code: "留观室3",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:88%;top:16.7%",
            id: "19982",
            name: "19982",
            code: "发热核酸检测",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:88%;top:27%",
            id: "93117",
            name: "93117",
            code: "发热接诊候诊",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:85%;top:28%",
            id: "18828",
            name: "18828",
            code: "发热门诊",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:14%;top:26%",
            id: "25435",
            name: "25435",
            code: "X线室",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:19%;top:26%",
            id: "20170",
            name: "20170",
            code: "控制室",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:18%;top:16%",
            id: "19487",
            name: "19487",
            code: "X线候诊区",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:64%;top:17.5%",
            id: "19206",
            name: "19206",
            code: "一脱二脱",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:60%;top:17.5%",
            id: "22911",
            name: "22911",
            code: "清洁区",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:14%;top:75%",
            id: "24586",
            name: "24586",
            code: "手术室",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:46%;top:28.5%",
            id: "25450",
            name: "25450",
            code: "室外测点",
            alert: false,
            state: "OFFLINE"
        },
    ],
    //武汉大学中南医院
    "1836e205cc0DZJwTTSx": [
        {
            style: "left:44%;top:6%",
            id: "18521",
            name: "18521",
            code: "留观室1",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:52%;top:6%",
            id: "24594",
            name: "24594",
            code: "留观室2",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:57.8%;top:6%",
            id: "25088",
            name: "25088",
            code: "留观室3",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:57.8%;top:17%",
            id: "20550",
            name: "20550",
            code: "留观室外走廊1",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:69%;top:17%",
            id: "24719",
            name: "24719",
            code: "留观室外走廊2",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:69%;top:44%",
            id: "92655",
            name: "92655",
            code: "发热门诊1",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:69%;top:34%",
            id: "18984",
            name: "18984",
            code: "发热门诊2",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:69%;top:66%",
            id: "93091",
            name: "93091",
            code: "门厅",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:74%;top:34%",
            id: "19958",
            name: "19958",
            code: "医生诊室外走廊",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:55%;top:66.2%",
            id: "20048",
            name: "20048",
            code: "采血室外走廊",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:64%;top:26.2%",
            id: "19610",
            name: "19610",
            code: "一脱",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:64%;top:45.2%",
            id: "18695",
            name: "18695",
            code: "二脱",
            alert: false,
            state: "OFFLINE"
        }
    ],
    //北京清华长庚医院
    "1836e207e67zSFfZVSl": [
        {
            style: "left:48.5%;top:25.5%",
            id: "29711",
            name: "29711",
            code: "预检台",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:43.5%;top:22.5%",
            id: "20857",
            name: "20857",
            code: "一层候诊区",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:41%;top:5%",
            id: "23893",
            name: "23893",
            code: "发热诊室1",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:45%;top:5%",
            id: "21145",
            name: "21145",
            code: "发热诊室2",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:42%;top:11.5%",
            id: "20428",
            name: "20428",
            code: "发热门诊患者通道",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:38%;top:17%",
            id: "25005",
            name: "25005",
            code: "发热门诊输液室",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:45%;top:16.5%",
            id: "28468",
            name: "28468",
            code: "抢救室",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:36%;top:30%",
            id: "20089",
            name: "20089",
            code: "CT室",
            alert: false,
            state: "OFFLINE"
        },
        // {
        //     style: "left:28.5%;top:21%",
        //     id: 9,
        //     code: "CT室外走廊",
        //     alert: false,
        //  state: "OFFLINE"
        // },
        // {
        //     style: "left:19%;top:11%",
        //     id: 10,
        //     code: "一层患者电梯厅",
        //     alert: false,
        //  state: "OFFLINE"
        // },
        {
            style: "left:24%;top:22.4%",
            id: "23224",
            name: "23224",
            code: "隔离观察室1",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:24%;top:28.4%",
            id: "21434",
            name: "21434",
            code: "隔离观察室2",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:24%;top:34.4%",
            id: "32882",
            name: "32882",
            code: "隔离观察室3",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:49.5%;top:19%",
            id: "21232",
            name: "21232",
            code: "一层缓冲间1",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:49.5%;top:14.5%",
            id: "32726",
            name: '32726',
            code: "一层缓冲间2",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:58.2%;top:84%",
            id: "25799",
            name: "25799",
            code: "隔离室201室外",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:36%;top:84%",
            id: "36792",
            name: "36792",
            code: "隔离室207",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:32.3%;top:84%",
            id: "22267",
            name: '22267',
            code: "隔离室208",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:28.5%;top:84%",
            id: '28526',
            name: '28526',
            code: "隔离室209",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:25%;top:84%",
            id: '26961',
            name: '26961',
            code: "隔离室210",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:21.2%;top:84%",
            id: '50144',
            name: '50144',
            code: "隔离室211",
            alert: false,
            state: "OFFLINE"
        },
        {
            style: "left:49%;top:66.4%",
            id: '19545',
            name: '19545',
            code: "二层缓冲间",
            alert: false,
            state: "OFFLINE"
        }
    ],
    //北京协和医院
    "1836e20a202FXEyjiVr": [
        {
            style: "left:46%;top:64%",
            code: "消化科候诊区",
            id: '49732',
            name: '49732',
            alert: false,
            state: "OFFLINE", //  1 正常   2 报警
        },
        {
            style: "left:52%;top:61%",
            code: "消化内镜室1",
            id: '52058',
            name: '52058',
            alert: false,
            state: "OFFLINE",
        },
        {
            style: "left:62%;top:60.5%",
            id: '51803',
            name: '51803',
            code: "消化内镜室2",
            alert: false,
            state: "OFFLINE",
        },
        {
            style: "left:75%;top:56%",
            code: "消化内镜室7",
            id: '49500',
            name: '49500',
            alert: false,
            state: "OFFLINE",
        },
        {
            style: "left:75%;top:31%",
            code: "消化内镜室8",
            id: '41784',
            name: '41784',
            alert: false,
            state: "OFFLINE",
        },
        {
            style: "left:70%;top:31%",
            code: "消化内镜室9",
            id: '58683',
            name: '58683',
            alert: false,
            state: "OFFLINE",
        },
        {
            style: "left:62%;top:31%",
            code: "消化内镜室10",
            id: '51191',
            name: '51191',
            alert: false,
            state: "OFFLINE",
        },
        {
            style: "left:56%;top:31%",
            code: "消化内镜区10-11",
            id: '37279',
            name: '37279',
            alert: false,
            state: "OFFLINE",
        },
        {
            style: "left:51%;top:31%",
            code: "消化内镜室11",
            id: '55788',
            name: '55788',
            alert: false,
            state: "OFFLINE",
        },
        {
            style: "left:47%;top:47%",
            code: "内镜室外候诊区",
            id: '50593',
            name: '50593',
            alert: false,
            state: "OFFLINE",
        },

        {
            style: "left:38%;top:47%",
            code: "消化内镜室12",
            id: '51498',
            name: '51498',
            alert: false,
            state: "OFFLINE",
        },
        {
            style: "left:45%;top:5%",
            code: "洗消间1",
            id: '51613',
            name: '51613',
            alert: false,
            state: "OFFLINE",
        },
        {
            style: "left:40%;top:5%",
            code: "洗消间2",
            id: '51506',
            name: '51506',
            alert: false,
            state: "OFFLINE",
        },
    ]
}
export let currentHospital = {
    url: 'changgeng',
    title: "长庚医院建筑室内环境健康性能监测与预警系统",
    id: 4
};
export function getHospital(id) {
    hospital.forEach((item) => {
        if (item.id == id) {
            this.currentHospital = item;
        }
    });
}